package cn.zhuang.codefit.system.service.biz.dao;



import cn.zhuang.codefit.system.api.dto.SysRoleDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface SysRoleBizMapper {

    List<SysRoleDto> selectByCondition(Map<String, Object> map);

    /**
     * 判断角色编码不能重复
     *
     * @param map
     * @return
     */
    int checkSysRoleCode(Map<String, Object> map);
}
